// 设置基本接口根路径
const environment = "wh"

const baseApi = {
	http: "https://service.shenget.com",
	// 正式版
}

let url = ""

if (process.env.NODE_ENV === 'development') {
	url = baseApi["http"]
} else {
	// url = baseApi[environment]
	url = baseApi["http"]
}

const install = (Vue, vm) => {
	uni.setStorageSync("baseUrl", url)
}
export default install
